package com.wp.design.behaiver;

public class JavaCourse extends ACourse {
	private boolean need;

	public JavaCourse(boolean need) {
		this.need = need;
	}

	void pakageCourse() {
		System.out.println("提供java源码");
	}

	@Override
	protected boolean needWriteArticle() {
		return need;
	}
}
